﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for ICompetition
/// </summary>
public interface ICompetition
{
    IList<CompetitionInfo> GetAll();
    CompetitionInfo getCompetitionID(int id);
    IList<CompetitionInfo> GetCompetitionName(string name);
    int InsertCompetition(CompetitionInfo com);
    int UpdateCompetition(CompetitionInfo com);
    int DeleteCompetition(int competitionId);
    IList<CompetitionInfo> SelectUpcoming();
    IList<CompetitionInfo> SelectOngoing();
    IList<CompetitionInfo> SelectPrevious();
}